package czh.cocoa.sample;

import czh.cocoa.R;
import czh.cocoa.R.layout;
import czh.cocoa.R.menu;
import czh.cocoa.ui.CocoaActivity;
import czh.cocoa.ui.UIApplication;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.MenuItem;

public class MainActivity extends CocoaActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		AppDelegate delegate = new AppDelegate();
		UIApplication.sharedApplication().setDelegate(delegate);
		
		super.onCreate(savedInstanceState);
	}

	public boolean onCreateOptionsMenu(Menu menu) {
		menu.add(0, 1, 0, "test");
		menu.add(0, 2, 0, "test2");
		menu.add(0, 3, 0, "test3");
		menu.add(0, 4, 0, "test4");
		return true;
	}
	


}
